import { createStore } from 'vuex'
import createPersistedState from "vuex-plugin-persistedstate";
export default createStore({
  state: {
    username: ''
  },
  getters: {
  },
  mutations: {
    saveUsername(state, payload) {
      state.username = payload
    }
  },
  actions: {
  },
  modules: {
  },
  plugins: [createPersistedState()],
})
